/*
 * 
 * 
 * 
 */
package com.hboxs.asl.service.impl;

import com.hboxs.asl.dao.RushDao;
import com.hboxs.asl.entity.Rush;
import com.hboxs.asl.service.RushService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * Service - 限时抢购
 */
@Service("rushServiceImpl")
public class RushServiceImpl extends BaseServiceImpl<Rush, Long> implements RushService {

    @Resource(name = "rushDaoImpl")
    private RushDao rushDao;

    @Resource(name = "rushDaoImpl")
    public void setBaseDao(RushDao rushDao) {
        super.setBaseDao(rushDao);
    }


    @Override
    public List<Rush> findEnableList() {
        return rushDao.findEnableList();
    }
}
